﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GP.Logic.Model
{
    public class GpSysUser
    {
        public virtual Doctor Doctor { get; set; }
        public long DocId { get; set; }

        public long UserId { get; set; }

        [Required]
        public string Username { get; set; }

        [Required]
        public string Password { get; set; }

        public virtual ICollection<GpSysRole> Roles { get; set; }
    }
}